home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2012 January / ME_2012_01.iso / Dropbox / Dropbox 1.3.2.dmg / Dropbox.app / Contents / Resources / lib / python2.5 / config / Makefile next >
Encoding:
Makefile  |  2011-10-18  |  60.2 KB  |  1,786 lines

  1. # Generated automatically from Makefile.pre by makesetup.
  2. # Top-level Makefile for Python
  3. #
  4. # As distributed, this file is called Makefile.pre.in; it is processed
  5. # into the real Makefile by running the script ./configure, which
  6. # replaces things like @spam@ with values appropriate for your system.
  7. # This means that if you edit Makefile, your changes get lost the next
  8. # time you run the configure script.  Ideally, you can do:
  9. #
  10. #    ./configure
  11. #    make
  12. #    make test
  13. #    make install
  14. #
  15. # If you have a previous version of Python installed that you don't
  16. # want to overwrite, you can use "make altinstall" instead of "make
  17. # install".  Refer to the "Installing" section in the README file for
  18. # additional details.
  19. #
  20. # See also the section "Build instructions" in the README file.
  21.  
  22. # === Variables set by makesetup ===
  23.  
  24. MODOBJS=          Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/zipimport.o  Modules/symtablemodule.o  Modules/xxsubtype.o
  25. MODLIBS=        $(LOCALMODLIBS) $(BASEMODLIBS)
  26.  
  27. # === Variables set by configure
  28. VERSION=    2.5
  29. srcdir=        .
  30.  
  31.  
  32. CC=        /usr/bin/gcc-4.0
  33. CXX=        c++
  34. MAINCC=        $(CC)
  35. LINKCC=        $(PURIFY) $(MAINCC)
  36. AR=        ar
  37. RANLIB=        ranlib
  38. SVNVERSION=    svnversion $(srcdir)
  39.  
  40. # Shell used by make (some versions default to the login shell, which is bad)
  41. SHELL=        /bin/sh
  42.  
  43. # Use this to make a link between python$(VERSION) and python in $(BINDIR)
  44. LN=        ln
  45.  
  46. # Portable install script (configure doesn't always guess right)
  47. INSTALL=    /usr/bin/install -c
  48. INSTALL_PROGRAM=${INSTALL}
  49. INSTALL_SCRIPT= ${INSTALL}
  50. INSTALL_DATA=    ${INSTALL} -m 644
  51. # Shared libraries must be installed with executable mode on some systems;
  52. # rather than figuring out exactly which, we always give them executable mode.
  53. # Also, making them read-only seems to be a good idea...
  54. INSTALL_SHARED= ${INSTALL} -m 555
  55.  
  56. MAKESETUP=      $(srcdir)/Modules/makesetup
  57.  
  58. # Compiler options
  59. OPT=        -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
  60. BASECFLAGS=    -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/Users/releng/dropbox-python/include -F/Users/releng/dropbox-python/Frameworks -L/Users/releng/dropbox-python/lib -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic
  61. CFLAGS=        $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS)
  62. # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
  63. # be able to build extension modules using the directories specified in the
  64. # environment variables
  65. CPPFLAGS=    -I. -IInclude -I$(srcdir)/Include  
  66. LDFLAGS=    -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -F/Users/releng/dropbox-python/Frameworks -L/Users/releng/dropbox-python/lib
  67. LDLAST=        
  68. SGI_ABI=    
  69. CCSHARED=    
  70. LINKFORSHARED=    -u _PyMac_Error $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
  71. # Extra C flags added for building the interpreter object files.
  72. CFLAGSFORSHARED=$(CCSHARED)
  73. # C flags used for building the interpreter object files
  74. PY_CFLAGS=    $(CFLAGS) $(CPPFLAGS) $(CFLAGSFORSHARED) -DPy_BUILD_CORE
  75.  
  76.  
  77. # Machine-dependent subdirectories
  78. MACHDEP=    darwin
  79.  
  80. # Install prefix for architecture-independent files
  81. prefix=        /Users/releng/dropbox-python/Frameworks/Python.framework/Versions/2.5
  82.  
  83. # Install prefix for architecture-dependent files
  84. exec_prefix=    ${prefix}
  85.  
  86. # Install prefix for data files
  87. datarootdir=    ${prefix}/share
  88.  
  89. # Expanded directories
  90. BINDIR=        $(exec_prefix)/bin
  91. LIBDIR=        $(exec_prefix)/lib
  92. MANDIR=        ${datarootdir}/man
  93. INCLUDEDIR=    ${prefix}/include
  94. CONFINCLUDEDIR=    $(exec_prefix)/include
  95. SCRIPTDIR=    $(prefix)/lib
  96.  
  97. # Detailed destination directories
  98. BINLIBDEST=    $(LIBDIR)/python$(VERSION)
  99. LIBDEST=    $(SCRIPTDIR)/python$(VERSION)
  100. INCLUDEPY=    $(INCLUDEDIR)/python$(VERSION)
  101. CONFINCLUDEPY=    $(CONFINCLUDEDIR)/python$(VERSION)
  102. LIBP=        $(LIBDIR)/python$(VERSION)
  103.  
  104. # Symbols used for using shared libraries
  105. SO=        .so
  106. LDSHARED=    $(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup
  107. BLDSHARED=    $(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup
  108. DESTSHARED=    $(BINLIBDEST)/lib-dynload
  109.  
  110. # Executable suffix (.exe on Windows and Mac OS X)
  111. EXE=        
  112. BUILDEXE=    .exe
  113.  
  114. # Short name and location for Mac OS X Python framework
  115. UNIVERSALSDK=/Developer/SDKs/MacOSX10.4u.sdk
  116. PYTHONFRAMEWORK=    Python
  117. PYTHONFRAMEWORKDIR=    Python.framework
  118. PYTHONFRAMEWORKPREFIX=    /Users/releng/dropbox-python/Frameworks
  119. PYTHONFRAMEWORKINSTALLDIR= /Users/releng/dropbox-python/Frameworks/Python.framework
  120. # Deployment target selected during configure, to be checked
  121. # by distutils. The export statement is needed to ensure that the
  122. # deployment target is active during build.
  123. MACOSX_DEPLOYMENT_TARGET=10.4
  124. export MACOSX_DEPLOYMENT_TARGET
  125.  
  126. # Options to enable prebinding (for fast startup prior to Mac OS X 10.3)
  127. OTHER_LIBTOOL_OPT=
  128.  
  129. # Environment to run shared python without installed libraries
  130. RUNSHARED=       DYLD_FRAMEWORK_PATH=/Users/releng/python-2.5-dropbox:/Users/releng/dropbox-python/Frameworks
  131.  
  132. # Modes for directories, executables and data files created by the
  133. # install process.  Default to user-only-writable for all file types.
  134. DIRMODE=    755
  135. EXEMODE=    755
  136. FILEMODE=    644
  137.  
  138. # configure script arguments
  139. CONFIG_ARGS=     '--prefix=/Users/releng/dropbox-python' '--disable-dependency-tracking' '--enable-framework=/Users/releng/dropbox-python/Frameworks' '--enable-universalsdk=/Developer/SDKs/MacOSX10.4u.sdk' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -I/Users/releng/dropbox-python/include -F/Users/releng/dropbox-python/Frameworks -L/Users/releng/dropbox-python/lib' 'LDFLAGS=-F/Users/releng/dropbox-python/Frameworks -L/Users/releng/dropbox-python/lib'
  140.  
  141.  
  142. # Subdirectories with code
  143. SRCDIRS=     Parser Grammar Objects Python Modules Mac
  144.  
  145. # Other subdirectories
  146. SUBDIRSTOO=    Include Lib Misc Demo
  147.  
  148. # Files and directories to be distributed
  149. CONFIGFILES=    configure configure.in acconfig.h pyconfig.h.in Makefile.pre.in
  150. DISTFILES=    README ChangeLog $(CONFIGFILES)
  151. DISTDIRS=    $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy
  152. DIST=        $(DISTFILES) $(DISTDIRS)
  153.  
  154.  
  155. LIBRARY=    libpython$(VERSION).a
  156. LDLIBRARY=      $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
  157. BLDLIBRARY=     
  158. DLLLIBRARY=    
  159. LDLIBRARYDIR=   
  160. INSTSONAME=    $(LDLIBRARY)
  161.  
  162.  
  163. LIBS=        -ldl 
  164. LIBM=        
  165. LIBC=        
  166. SYSLIBS=    $(LIBM) $(LIBC)
  167. SHLIBS=        $(LIBS)
  168.  
  169. THREADOBJ=    Python/thread.o
  170. DLINCLDIR=    .
  171. DYNLOADFILE=    dynload_shlib.o
  172. MACHDEP_OBJS=    Python/mactoolboxglue.o
  173. UNICODE_OBJS=   Objects/unicodeobject.o Objects/unicodectype.o
  174.  
  175. PYTHON=        python$(EXE)
  176. BUILDPYTHON=    python$(BUILDEXE)
  177.  
  178. # === Definitions added by makesetup ===
  179.  
  180. LOCALMODLIBS=          
  181. BASEMODLIBS=
  182. GLHACK=-Dclear=__GLclear
  183. PYTHONPATH=$(COREPYTHONPATH)
  184. COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(EXTRAMACHDEPPATH)$(TKPATH)
  185. TKPATH=:lib-tk
  186. EXTRAMACHDEPPATH=
  187. MACHDEPPATH=:plat-$(MACHDEP)
  188. TESTPATH=
  189. SITEPATH=
  190. DESTPATH=
  191. MACHDESTLIB=$(BINLIBDEST)
  192. DESTLIB=$(LIBDEST)
  193.  
  194. _OPENSSL_OBJS = \
  195.     openssl/crypto/aes/aes_cbc.o \
  196.     openssl/crypto/aes/aes_cfb.o \
  197.     openssl/crypto/aes/aes_core.o \
  198.     openssl/crypto/aes/aes_ctr.o \
  199.     openssl/crypto/aes/aes_ecb.o \
  200.     openssl/crypto/aes/aes_ige.o \
  201.     openssl/crypto/aes/aes_misc.o \
  202.     openssl/crypto/aes/aes_ofb.o \
  203.     openssl/crypto/aes/aes_wrap.o \
  204.     openssl/crypto/asn1/a_bitstr.o \
  205.     openssl/crypto/asn1/a_bool.o \
  206.     openssl/crypto/asn1/a_bytes.o \
  207.     openssl/crypto/asn1/a_d2i_fp.o \
  208.     openssl/crypto/asn1/a_digest.o \
  209.     openssl/crypto/asn1/a_dup.o \
  210.     openssl/crypto/asn1/a_enum.o \
  211.     openssl/crypto/asn1/a_gentm.o \
  212.     openssl/crypto/asn1/a_hdr.o \
  213.     openssl/crypto/asn1/a_i2d_fp.o \
  214.     openssl/crypto/asn1/a_int.o \
  215.     openssl/crypto/asn1/a_mbstr.o \
  216.     openssl/crypto/asn1/a_meth.o \
  217.     openssl/crypto/asn1/a_object.o \
  218.     openssl/crypto/asn1/a_octet.o \
  219.     openssl/crypto/asn1/a_print.o \
  220.     openssl/crypto/asn1/a_set.o \
  221.     openssl/crypto/asn1/a_sign.o \
  222.     openssl/crypto/asn1/a_strex.o \
  223.     openssl/crypto/asn1/a_strnid.o \
  224.     openssl/crypto/asn1/a_time.o \
  225.     openssl/crypto/asn1/a_type.o \
  226.     openssl/crypto/asn1/a_utctm.o \
  227.     openssl/crypto/asn1/a_utf8.o \
  228.     openssl/crypto/asn1/a_verify.o \
  229.     openssl/crypto/asn1/asn1_err.o \
  230.     openssl/crypto/asn1/asn1_gen.o \
  231.     openssl/crypto/asn1/asn1_lib.o \
  232.     openssl/crypto/asn1/asn1_par.o \
  233.     openssl/crypto/asn1/asn_mime.o \
  234.     openssl/crypto/asn1/asn_moid.o \
  235.     openssl/crypto/asn1/asn_pack.o \
  236.     openssl/crypto/asn1/d2i_pr.o \
  237.     openssl/crypto/asn1/d2i_pu.o \
  238.     openssl/crypto/asn1/evp_asn1.o \
  239.     openssl/crypto/asn1/f_enum.o \
  240.     openssl/crypto/asn1/f_int.o \
  241.     openssl/crypto/asn1/f_string.o \
  242.     openssl/crypto/asn1/i2d_pr.o \
  243.     openssl/crypto/asn1/i2d_pu.o \
  244.     openssl/crypto/asn1/n_pkey.o \
  245.     openssl/crypto/asn1/nsseq.o \
  246.     openssl/crypto/asn1/p5_pbe.o \
  247.     openssl/crypto/asn1/p5_pbev2.o \
  248.     openssl/crypto/asn1/p8_pkey.o \
  249.     openssl/crypto/asn1/t_bitst.o \
  250.     openssl/crypto/asn1/t_crl.o \
  251.     openssl/crypto/asn1/t_pkey.o \
  252.     openssl/crypto/asn1/t_req.o \
  253.     openssl/crypto/asn1/t_spki.o \
  254.     openssl/crypto/asn1/t_x509.o \
  255.     openssl/crypto/asn1/t_x509a.o \
  256.     openssl/crypto/asn1/tasn_dec.o \
  257.     openssl/crypto/asn1/tasn_enc.o \
  258.     openssl/crypto/asn1/tasn_fre.o \
  259.     openssl/crypto/asn1/tasn_new.o \
  260.     openssl/crypto/asn1/tasn_typ.o \
  261.     openssl/crypto/asn1/tasn_utl.o \
  262.     openssl/crypto/asn1/x_algor.o \
  263.     openssl/crypto/asn1/x_attrib.o \
  264.     openssl/crypto/asn1/x_bignum.o \
  265.     openssl/crypto/asn1/x_crl.o \
  266.     openssl/crypto/asn1/x_exten.o \
  267.     openssl/crypto/asn1/x_info.o \
  268.     openssl/crypto/asn1/x_long.o \
  269.     openssl/crypto/asn1/x_name.o \
  270.     openssl/crypto/asn1/x_pkey.o \
  271.     openssl/crypto/asn1/x_pubkey.o \
  272.     openssl/crypto/asn1/x_req.o \
  273.     openssl/crypto/asn1/x_sig.o \
  274.     openssl/crypto/asn1/x_spki.o \
  275.     openssl/crypto/asn1/x_val.o \
  276.     openssl/crypto/asn1/x_x509.o \
  277.     openssl/crypto/asn1/x_x509a.o \
  278.     openssl/crypto/bf/bf_cfb64.o \
  279.     openssl/crypto/bf/bf_ecb.o \
  280.     openssl/crypto/bf/bf_enc.o \
  281.     openssl/crypto/bf/bf_ofb64.o \
  282.     openssl/crypto/bf/bf_skey.o \
  283.     openssl/crypto/bio/b_dump.o \
  284.     openssl/crypto/bio/b_print.o \
  285.     openssl/crypto/bio/b_sock.o \
  286.     openssl/crypto/bio/bf_buff.o \
  287.     openssl/crypto/bio/bf_nbio.o \
  288.     openssl/crypto/bio/bf_null.o \
  289.     openssl/crypto/bio/bio_cb.o \
  290.     openssl/crypto/bio/bio_err.o \
  291.     openssl/crypto/bio/bio_lib.o \
  292.     openssl/crypto/bio/bss_acpt.o \
  293.     openssl/crypto/bio/bss_bio.o \
  294.     openssl/crypto/bio/bss_conn.o \
  295.     openssl/crypto/bio/bss_dgram.o \
  296.     openssl/crypto/bio/bss_fd.o \
  297.     openssl/crypto/bio/bss_file.o \
  298.     openssl/crypto/bio/bss_log.o \
  299.     openssl/crypto/bio/bss_mem.o \
  300.     openssl/crypto/bio/bss_null.o \
  301.     openssl/crypto/bio/bss_sock.o \
  302.     openssl/crypto/bn/bn_add.o \
  303.     openssl/crypto/bn/bn_asm.o \
  304.     openssl/crypto/bn/bn_blind.o \
  305.     openssl/crypto/bn/bn_const.o \
  306.     openssl/crypto/bn/bn_ctx.o \
  307.     openssl/crypto/bn/bn_depr.o \
  308.     openssl/crypto/bn/bn_div.o \
  309.     openssl/crypto/bn/bn_err.o \
  310.     openssl/crypto/bn/bn_exp.o \
  311.     openssl/crypto/bn/bn_exp2.o \
  312.     openssl/crypto/bn/bn_gcd.o \
  313.     openssl/crypto/bn/bn_gf2m.o \
  314.     openssl/crypto/bn/bn_kron.o \
  315.     openssl/crypto/bn/bn_lib.o \
  316.     openssl/crypto/bn/bn_mod.o \
  317.     openssl/crypto/bn/bn_mont.o \
  318.     openssl/crypto/bn/bn_mpi.o \
  319.     openssl/crypto/bn/bn_mul.o \
  320.     openssl/crypto/bn/bn_nist.o \
  321.     openssl/crypto/bn/bn_opt.o \
  322.     openssl/crypto/bn/bn_prime.o \
  323.     openssl/crypto/bn/bn_print.o \
  324.     openssl/crypto/bn/bn_rand.o \
  325.     openssl/crypto/bn/bn_recp.o \
  326.     openssl/crypto/bn/bn_shift.o \
  327.     openssl/crypto/bn/bn_sqr.o \
  328.     openssl/crypto/bn/bn_sqrt.o \
  329.     openssl/crypto/bn/bn_word.o \
  330.     openssl/crypto/bn/bn_x931p.o \
  331.     openssl/crypto/buffer/buf_err.o \
  332.     openssl/crypto/buffer/buf_str.o \
  333.     openssl/crypto/buffer/buffer.o \
  334.     openssl/crypto/cast/c_cfb64.o \
  335.     openssl/crypto/cast/c_ecb.o \
  336.     openssl/crypto/cast/c_enc.o \
  337.     openssl/crypto/cast/c_ofb64.o \
  338.     openssl/crypto/cast/c_skey.o \
  339.     openssl/crypto/comp/c_rle.o \
  340.     openssl/crypto/comp/c_zlib.o \
  341.     openssl/crypto/comp/comp_err.o \
  342.     openssl/crypto/comp/comp_lib.o \
  343.     openssl/crypto/conf/conf_api.o \
  344.     openssl/crypto/conf/conf_def.o \
  345.     openssl/crypto/conf/conf_err.o \
  346.     openssl/crypto/conf/conf_lib.o \
  347.     openssl/crypto/conf/conf_mall.o \
  348.     openssl/crypto/conf/conf_mod.o \
  349.     openssl/crypto/conf/conf_sap.o \
  350.     openssl/crypto/cpt_err.o \
  351.     openssl/crypto/cryptlib.o \
  352.     openssl/crypto/cversion.o \
  353.     openssl/crypto/des/cbc_cksm.o \
  354.     openssl/crypto/des/cbc_enc.o \
  355.     openssl/crypto/des/cfb64ede.o \
  356.     openssl/crypto/des/cfb64enc.o \
  357.     openssl/crypto/des/cfb_enc.o \
  358.     openssl/crypto/des/des_enc.o \
  359.     openssl/crypto/des/des_lib.o \
  360.     openssl/crypto/des/des_old.o \
  361.     openssl/crypto/des/des_old2.o \
  362.     openssl/crypto/des/ecb3_enc.o \
  363.     openssl/crypto/des/ecb_enc.o \
  364.     openssl/crypto/des/ede_cbcm_enc.o \
  365.     openssl/crypto/des/enc_read.o \
  366.     openssl/crypto/des/enc_writ.o \
  367.     openssl/crypto/des/fcrypt.o \
  368.     openssl/crypto/des/fcrypt_b.o \
  369.     openssl/crypto/des/ofb64ede.o \
  370.     openssl/crypto/des/ofb64enc.o \
  371.     openssl/crypto/des/ofb_enc.o \
  372.     openssl/crypto/des/pcbc_enc.o \
  373.     openssl/crypto/des/qud_cksm.o \
  374.     openssl/crypto/des/rand_key.o \
  375.     openssl/crypto/des/read2pwd.o \
  376.     openssl/crypto/des/rpc_enc.o \
  377.     openssl/crypto/des/set_key.o \
  378.     openssl/crypto/des/str2key.o \
  379.     openssl/crypto/des/xcbc_enc.o \
  380.     openssl/crypto/dh/dh_asn1.o \
  381.     openssl/crypto/dh/dh_check.o \
  382.     openssl/crypto/dh/dh_depr.o \
  383.     openssl/crypto/dh/dh_err.o \
  384.     openssl/crypto/dh/dh_gen.o \
  385.     openssl/crypto/dh/dh_key.o \
  386.     openssl/crypto/dh/dh_lib.o \
  387.     openssl/crypto/dsa/dsa_asn1.o \
  388.     openssl/crypto/dsa/dsa_depr.o \
  389.     openssl/crypto/dsa/dsa_err.o \
  390.     openssl/crypto/dsa/dsa_gen.o \
  391.     openssl/crypto/dsa/dsa_key.o \
  392.     openssl/crypto/dsa/dsa_lib.o \
  393.     openssl/crypto/dsa/dsa_ossl.o \
  394.     openssl/crypto/dsa/dsa_sign.o \
  395.     openssl/crypto/dsa/dsa_utl.o \
  396.     openssl/crypto/dsa/dsa_vrf.o \
  397.     openssl/crypto/dso/dso_dl.o \
  398.     openssl/crypto/dso/dso_dlfcn.o \
  399.     openssl/crypto/dso/dso_err.o \
  400.     openssl/crypto/dso/dso_lib.o \
  401.     openssl/crypto/dso/dso_null.o \
  402.     openssl/crypto/dso/dso_openssl.o \
  403.     openssl/crypto/dso/dso_vms.o \
  404.     openssl/crypto/dso/dso_win32.o \
  405.     openssl/crypto/dyn_lck.o \
  406.     openssl/crypto/ebcdic.o \
  407.     openssl/crypto/ec/ec2_mult.o \
  408.     openssl/crypto/ec/ec2_smpl.o \
  409.     openssl/crypto/ec/ec_asn1.o \
  410.     openssl/crypto/ec/ec_check.o \
  411.     openssl/crypto/ec/ec_curve.o \
  412.     openssl/crypto/ec/ec_cvt.o \
  413.     openssl/crypto/ec/ec_err.o \
  414.     openssl/crypto/ec/ec_key.o \
  415.     openssl/crypto/ec/ec_lib.o \
  416.     openssl/crypto/ec/ec_mult.o \
  417.     openssl/crypto/ec/ec_print.o \
  418.     openssl/crypto/ec/ecp_mont.o \
  419.     openssl/crypto/ec/ecp_nist.o \
  420.     openssl/crypto/ec/ecp_smpl.o \
  421.     openssl/crypto/ecdh/ech_err.o \
  422.     openssl/crypto/ecdh/ech_key.o \
  423.     openssl/crypto/ecdh/ech_lib.o \
  424.     openssl/crypto/ecdh/ech_ossl.o \
  425.     openssl/crypto/ecdsa/ecs_asn1.o \
  426.     openssl/crypto/ecdsa/ecs_err.o \
  427.     openssl/crypto/ecdsa/ecs_lib.o \
  428.     openssl/crypto/ecdsa/ecs_ossl.o \
  429.     openssl/crypto/ecdsa/ecs_sign.o \
  430.     openssl/crypto/ecdsa/ecs_vrf.o \
  431.     openssl/crypto/engine/eng_all.o \
  432.     openssl/crypto/engine/eng_cnf.o \
  433.     openssl/crypto/engine/eng_cryptodev.o \
  434.     openssl/crypto/engine/eng_ctrl.o \
  435.     openssl/crypto/engine/eng_dyn.o \
  436.     openssl/crypto/engine/eng_err.o \
  437.     openssl/crypto/engine/eng_fat.o \
  438.     openssl/crypto/engine/eng_init.o \
  439.     openssl/crypto/engine/eng_lib.o \
  440.     openssl/crypto/engine/eng_list.o \
  441.     openssl/crypto/engine/eng_openssl.o \
  442.     openssl/crypto/engine/eng_padlock.o \
  443.     openssl/crypto/engine/eng_pkey.o \
  444.     openssl/crypto/engine/eng_table.o \
  445.     openssl/crypto/engine/tb_cipher.o \
  446.     openssl/crypto/engine/tb_dh.o \
  447.     openssl/crypto/engine/tb_digest.o \
  448.     openssl/crypto/engine/tb_dsa.o \
  449.     openssl/crypto/engine/tb_ecdh.o \
  450.     openssl/crypto/engine/tb_ecdsa.o \
  451.     openssl/crypto/engine/tb_rand.o \
  452.     openssl/crypto/engine/tb_rsa.o \
  453.     openssl/crypto/engine/tb_store.o \
  454.     openssl/crypto/err/err.o \
  455.     openssl/crypto/err/err_all.o \
  456.     openssl/crypto/err/err_bio.o \
  457.     openssl/crypto/err/err_def.o \
  458.     openssl/crypto/err/err_prn.o \
  459.     openssl/crypto/err/err_str.o \
  460.     openssl/crypto/evp/bio_b64.o \
  461.     openssl/crypto/evp/bio_enc.o \
  462.     openssl/crypto/evp/bio_md.o \
  463.     openssl/crypto/evp/bio_ok.o \
  464.     openssl/crypto/evp/c_all.o \
  465.     openssl/crypto/evp/c_allc.o \
  466.     openssl/crypto/evp/c_alld.o \
  467.     openssl/crypto/evp/dig_eng.o \
  468.     openssl/crypto/evp/digest.o \
  469.     openssl/crypto/evp/e_aes.o \
  470.     openssl/crypto/evp/e_bf.o \
  471.     openssl/crypto/evp/e_camellia.o \
  472.     openssl/crypto/evp/e_cast.o \
  473.     openssl/crypto/evp/e_des.o \
  474.     openssl/crypto/evp/e_des3.o \
  475.     openssl/crypto/evp/e_idea.o \
  476.     openssl/crypto/evp/e_null.o \
  477.     openssl/crypto/evp/e_old.o \
  478.     openssl/crypto/evp/e_rc2.o \
  479.     openssl/crypto/evp/e_rc4.o \
  480.     openssl/crypto/evp/e_rc5.o \
  481.     openssl/crypto/evp/e_seed.o \
  482.     openssl/crypto/evp/e_xcbc_d.o \
  483.     openssl/crypto/evp/enc_min.o \
  484.     openssl/crypto/evp/encode.o \
  485.     openssl/crypto/evp/evp_acnf.o \
  486.     openssl/crypto/evp/evp_cnf.o \
  487.     openssl/crypto/evp/evp_enc.o \
  488.     openssl/crypto/evp/evp_err.o \
  489.     openssl/crypto/evp/evp_key.o \
  490.     openssl/crypto/evp/evp_lib.o \
  491.     openssl/crypto/evp/evp_pbe.o \
  492.     openssl/crypto/evp/evp_pkey.o \
  493.     openssl/crypto/evp/m_dss.o \
  494.     openssl/crypto/evp/m_dss1.o \
  495.     openssl/crypto/evp/m_ecdsa.o \
  496.     openssl/crypto/evp/m_md2.o \
  497.     openssl/crypto/evp/m_md4.o \
  498.     openssl/crypto/evp/m_md5.o \
  499.     openssl/crypto/evp/m_mdc2.o \
  500.     openssl/crypto/evp/m_null.o \
  501.     openssl/crypto/evp/m_ripemd.o \
  502.     openssl/crypto/evp/m_sha.o \
  503.     openssl/crypto/evp/m_sha1.o \
  504.     openssl/crypto/evp/names.o \
  505.     openssl/crypto/evp/p5_crpt.o \
  506.     openssl/crypto/evp/p5_crpt2.o \
  507.     openssl/crypto/evp/p_dec.o \
  508.     openssl/crypto/evp/p_enc.o \
  509.     openssl/crypto/evp/p_lib.o \
  510.     openssl/crypto/evp/p_open.o \
  511.     openssl/crypto/evp/p_seal.o \
  512.     openssl/crypto/evp/p_sign.o \
  513.     openssl/crypto/evp/p_verify.o \
  514.     openssl/crypto/ex_data.o \
  515.     openssl/crypto/fips_err.o \
  516.     openssl/crypto/hmac/hmac.o \
  517.     openssl/crypto/idea/i_cbc.o \
  518.     openssl/crypto/idea/i_cfb64.o \
  519.     openssl/crypto/idea/i_ecb.o \
  520.     openssl/crypto/idea/i_ofb64.o \
  521.     openssl/crypto/idea/i_skey.o \
  522.     openssl/crypto/krb5/krb5_asn.o \
  523.     openssl/crypto/lhash/lh_stats.o \
  524.     openssl/crypto/lhash/lhash.o \
  525.     openssl/crypto/md2/md2_dgst.o \
  526.     openssl/crypto/md2/md2_one.o \
  527.     openssl/crypto/md4/md4_dgst.o \
  528.     openssl/crypto/md4/md4_one.o \
  529.     openssl/crypto/md5/md5_dgst.o \
  530.     openssl/crypto/md5/md5_one.o \
  531.     openssl/crypto/mem.o \
  532.     openssl/crypto/mem_clr.o \
  533.     openssl/crypto/mem_dbg.o \
  534.     openssl/crypto/o_dir.o \
  535.     openssl/crypto/o_init.o \
  536.     openssl/crypto/o_str.o \
  537.     openssl/crypto/o_time.o \
  538.     openssl/crypto/objects/o_names.o \
  539.     openssl/crypto/objects/obj_dat.o \
  540.     openssl/crypto/objects/obj_err.o \
  541.     openssl/crypto/objects/obj_lib.o \
  542.     openssl/crypto/ocsp/ocsp_asn.o \
  543.     openssl/crypto/ocsp/ocsp_cl.o \
  544.     openssl/crypto/ocsp/ocsp_err.o \
  545.     openssl/crypto/ocsp/ocsp_ext.o \
  546.     openssl/crypto/ocsp/ocsp_ht.o \
  547.     openssl/crypto/ocsp/ocsp_lib.o \
  548.     openssl/crypto/ocsp/ocsp_prn.o \
  549.     openssl/crypto/ocsp/ocsp_srv.o \
  550.     openssl/crypto/ocsp/ocsp_vfy.o \
  551.     openssl/crypto/pem/pem_all.o \
  552.     openssl/crypto/pem/pem_err.o \
  553.     openssl/crypto/pem/pem_info.o \
  554.     openssl/crypto/pem/pem_lib.o \
  555.     openssl/crypto/pem/pem_oth.o \
  556.     openssl/crypto/pem/pem_pk8.o \
  557.     openssl/crypto/pem/pem_pkey.o \
  558.     openssl/crypto/pem/pem_seal.o \
  559.     openssl/crypto/pem/pem_sign.o \
  560.     openssl/crypto/pem/pem_x509.o \
  561.     openssl/crypto/pem/pem_xaux.o \
  562.     openssl/crypto/pkcs12/p12_add.o \
  563.     openssl/crypto/pkcs12/p12_asn.o \
  564.     openssl/crypto/pkcs12/p12_attr.o \
  565.     openssl/crypto/pkcs12/p12_crpt.o \
  566.     openssl/crypto/pkcs12/p12_crt.o \
  567.     openssl/crypto/pkcs12/p12_decr.o \
  568.     openssl/crypto/pkcs12/p12_init.o \
  569.     openssl/crypto/pkcs12/p12_key.o \
  570.     openssl/crypto/pkcs12/p12_kiss.o \
  571.     openssl/crypto/pkcs12/p12_mutl.o \
  572.     openssl/crypto/pkcs12/p12_npas.o \
  573.     openssl/crypto/pkcs12/p12_p8d.o \
  574.     openssl/crypto/pkcs12/p12_p8e.o \
  575.     openssl/crypto/pkcs12/p12_utl.o \
  576.     openssl/crypto/pkcs12/pk12err.o \
  577.     openssl/crypto/pkcs7/pk7_asn1.o \
  578.     openssl/crypto/pkcs7/pk7_attr.o \
  579.     openssl/crypto/pkcs7/pk7_doit.o \
  580.     openssl/crypto/pkcs7/pk7_lib.o \
  581.     openssl/crypto/pkcs7/pk7_mime.o \
  582.     openssl/crypto/pkcs7/pk7_smime.o \
  583.     openssl/crypto/pkcs7/pkcs7err.o \
  584.     openssl/crypto/pqueue/pqueue.o \
  585.     openssl/crypto/rand/md_rand.o \
  586.     openssl/crypto/rand/rand_egd.o \
  587.     openssl/crypto/rand/rand_eng.o \
  588.     openssl/crypto/rand/rand_err.o \
  589.     openssl/crypto/rand/rand_lib.o \
  590.     openssl/crypto/rand/rand_nw.o \
  591.     openssl/crypto/rand/rand_os2.o \
  592.     openssl/crypto/rand/rand_unix.o \
  593.     openssl/crypto/rand/rand_win.o \
  594.     openssl/crypto/rand/randfile.o \
  595.     openssl/crypto/rc2/rc2_cbc.o \
  596.     openssl/crypto/rc2/rc2_ecb.o \
  597.     openssl/crypto/rc2/rc2_skey.o \
  598.     openssl/crypto/rc2/rc2cfb64.o \
  599.     openssl/crypto/rc2/rc2ofb64.o \
  600.     openssl/crypto/rc4/rc4_enc.o \
  601.     openssl/crypto/rc4/rc4_fblk.o \
  602.     openssl/crypto/rc4/rc4_skey.o \
  603.     openssl/crypto/ripemd/rmd_dgst.o \
  604.     openssl/crypto/ripemd/rmd_one.o \
  605.     openssl/crypto/rsa/rsa_asn1.o \
  606.     openssl/crypto/rsa/rsa_chk.o \
  607.     openssl/crypto/rsa/rsa_depr.o \
  608.     openssl/crypto/rsa/rsa_eay.o \
  609.     openssl/crypto/rsa/rsa_eng.o \
  610.     openssl/crypto/rsa/rsa_err.o \
  611.     openssl/crypto/rsa/rsa_gen.o \
  612.     openssl/crypto/rsa/rsa_lib.o \
  613.     openssl/crypto/rsa/rsa_none.o \
  614.     openssl/crypto/rsa/rsa_null.o \
  615.     openssl/crypto/rsa/rsa_oaep.o \
  616.     openssl/crypto/rsa/rsa_pk1.o \
  617.     openssl/crypto/rsa/rsa_pss.o \
  618.     openssl/crypto/rsa/rsa_saos.o \
  619.     openssl/crypto/rsa/rsa_sign.o \
  620.     openssl/crypto/rsa/rsa_ssl.o \
  621.     openssl/crypto/rsa/rsa_x931.o \
  622.     openssl/crypto/rsa/rsa_x931g.o \
  623.     openssl/crypto/sha/sha1_one.o \
  624.     openssl/crypto/sha/sha1dgst.o \
  625.     openssl/crypto/sha/sha256.o \
  626.     openssl/crypto/sha/sha512.o \
  627.     openssl/crypto/sha/sha_dgst.o \
  628.     openssl/crypto/sha/sha_one.o \
  629.     openssl/crypto/stack/stack.o \
  630.     openssl/crypto/store/str_err.o \
  631.     openssl/crypto/store/str_lib.o \
  632.     openssl/crypto/store/str_mem.o \
  633.     openssl/crypto/store/str_meth.o \
  634.     openssl/crypto/tmdiff.o \
  635.     openssl/crypto/txt_db/txt_db.o \
  636.     openssl/crypto/ui/ui_compat.o \
  637.     openssl/crypto/ui/ui_err.o \
  638.     openssl/crypto/ui/ui_lib.o \
  639.     openssl/crypto/ui/ui_openssl.o \
  640.     openssl/crypto/ui/ui_util.o \
  641.     openssl/crypto/uid.o \
  642.     openssl/crypto/x509/by_dir.o \
  643.     openssl/crypto/x509/by_file.o \
  644.     openssl/crypto/x509/x509_att.o \
  645.     openssl/crypto/x509/x509_cmp.o \
  646.     openssl/crypto/x509/x509_d2.o \
  647.     openssl/crypto/x509/x509_def.o \
  648.     openssl/crypto/x509/x509_err.o \
  649.     openssl/crypto/x509/x509_ext.o \
  650.     openssl/crypto/x509/x509_lu.o \
  651.     openssl/crypto/x509/x509_obj.o \
  652.     openssl/crypto/x509/x509_r2x.o \
  653.     openssl/crypto/x509/x509_req.o \
  654.     openssl/crypto/x509/x509_set.o \
  655.     openssl/crypto/x509/x509_trs.o \
  656.     openssl/crypto/x509/x509_txt.o \
  657.     openssl/crypto/x509/x509_v3.o \
  658.     openssl/crypto/x509/x509_vfy.o \
  659.     openssl/crypto/x509/x509_vpm.o \
  660.     openssl/crypto/x509/x509cset.o \
  661.     openssl/crypto/x509/x509name.o \
  662.     openssl/crypto/x509/x509rset.o \
  663.     openssl/crypto/x509/x509spki.o \
  664.     openssl/crypto/x509/x509type.o \
  665.     openssl/crypto/x509/x_all.o \
  666.     openssl/crypto/x509v3/pcy_cache.o \
  667.     openssl/crypto/x509v3/pcy_data.o \
  668.     openssl/crypto/x509v3/pcy_lib.o \
  669.     openssl/crypto/x509v3/pcy_map.o \
  670.     openssl/crypto/x509v3/pcy_node.o \
  671.     openssl/crypto/x509v3/pcy_tree.o \
  672.     openssl/crypto/x509v3/v3_addr.o \
  673.     openssl/crypto/x509v3/v3_akey.o \
  674.     openssl/crypto/x509v3/v3_akeya.o \
  675.     openssl/crypto/x509v3/v3_alt.o \
  676.     openssl/crypto/x509v3/v3_asid.o \
  677.     openssl/crypto/x509v3/v3_bcons.o \
  678.     openssl/crypto/x509v3/v3_bitst.o \
  679.     openssl/crypto/x509v3/v3_conf.o \
  680.     openssl/crypto/x509v3/v3_cpols.o \
  681.     openssl/crypto/x509v3/v3_crld.o \
  682.     openssl/crypto/x509v3/v3_enum.o \
  683.     openssl/crypto/x509v3/v3_extku.o \
  684.     openssl/crypto/x509v3/v3_genn.o \
  685.     openssl/crypto/x509v3/v3_ia5.o \
  686.     openssl/crypto/x509v3/v3_info.o \
  687.     openssl/crypto/x509v3/v3_int.o \
  688.     openssl/crypto/x509v3/v3_lib.o \
  689.     openssl/crypto/x509v3/v3_ncons.o \
  690.     openssl/crypto/x509v3/v3_ocsp.o \
  691.     openssl/crypto/x509v3/v3_pci.o \
  692.     openssl/crypto/x509v3/v3_pcia.o \
  693.     openssl/crypto/x509v3/v3_pcons.o \
  694.     openssl/crypto/x509v3/v3_pku.o \
  695.     openssl/crypto/x509v3/v3_pmaps.o \
  696.     openssl/crypto/x509v3/v3_prn.o \
  697.     openssl/crypto/x509v3/v3_purp.o \
  698.     openssl/crypto/x509v3/v3_skey.o \
  699.     openssl/crypto/x509v3/v3_sxnet.o \
  700.     openssl/crypto/x509v3/v3_utl.o \
  701.     openssl/crypto/x509v3/v3err.o \
  702.     openssl/engines/e_4758cca.o \
  703.     openssl/engines/e_aep.o \
  704.     openssl/engines/e_atalla.o \
  705.     openssl/engines/e_capi.o \
  706.     openssl/engines/e_chil.o \
  707.     openssl/engines/e_cswift.o \
  708.     openssl/engines/e_gmp.o \
  709.     openssl/engines/e_nuron.o \
  710.     openssl/engines/e_sureware.o \
  711.     openssl/engines/e_ubsec.o \
  712.     openssl/ssl/bio_ssl.o \
  713.     openssl/ssl/d1_both.o \
  714.     openssl/ssl/d1_clnt.o \
  715.     openssl/ssl/d1_enc.o \
  716.     openssl/ssl/d1_lib.o \
  717.     openssl/ssl/d1_meth.o \
  718.     openssl/ssl/d1_pkt.o \
  719.     openssl/ssl/d1_srvr.o \
  720.     openssl/ssl/kssl.o \
  721.     openssl/ssl/s23_clnt.o \
  722.     openssl/ssl/s23_lib.o \
  723.     openssl/ssl/s23_meth.o \
  724.     openssl/ssl/s23_pkt.o \
  725.     openssl/ssl/s23_srvr.o \
  726.     openssl/ssl/s2_clnt.o \
  727.     openssl/ssl/s2_enc.o \
  728.     openssl/ssl/s2_lib.o \
  729.     openssl/ssl/s2_meth.o \
  730.     openssl/ssl/s2_pkt.o \
  731.     openssl/ssl/s2_srvr.o \
  732.     openssl/ssl/s3_both.o \
  733.     openssl/ssl/s3_clnt.o \
  734.     openssl/ssl/s3_enc.o \
  735.     openssl/ssl/s3_lib.o \
  736.     openssl/ssl/s3_meth.o \
  737.     openssl/ssl/s3_pkt.o \
  738.     openssl/ssl/s3_srvr.o \
  739.     openssl/ssl/ssl_algs.o \
  740.     openssl/ssl/ssl_asn1.o \
  741.     openssl/ssl/ssl_cert.o \
  742.     openssl/ssl/ssl_ciph.o \
  743.     openssl/ssl/ssl_err.o \
  744.     openssl/ssl/ssl_err2.o \
  745.     openssl/ssl/ssl_lib.o \
  746.     openssl/ssl/ssl_rsa.o \
  747.     openssl/ssl/ssl_sess.o \
  748.     openssl/ssl/ssl_stat.o \
  749.     openssl/ssl/ssl_txt.o \
  750.     openssl/ssl/t1_clnt.o \
  751.     openssl/ssl/t1_enc.o \
  752.     openssl/ssl/t1_lib.o \
  753.     openssl/ssl/t1_meth.o \
  754.     openssl/ssl/t1_reneg.o \
  755.     openssl/ssl/t1_srvr.o
  756.  
  757. ##########################################################################
  758. # Modules
  759.  
  760. _SQLITE_OBJS = \
  761.          Modules/_sqlite/cache.o \
  762.          Modules/_sqlite/connection.o \
  763.          Modules/_sqlite/cursor.o \
  764.          Modules/_sqlite/microprotocols.o \
  765.          Modules/_sqlite/module.o \
  766.          Modules/_sqlite/prepare_protocol.o \
  767.          Modules/_sqlite/row.o \
  768.          Modules/_sqlite/statement.o \
  769.          Modules/_sqlite/util.o \
  770.          sqlite-upstream/see-amalg.o
  771.  
  772. _NCRYPT_OBJS = \
  773.          Modules/_ncrypt/ncrypt.o \
  774.          Modules/_ncrypt/ncrypt_bignum.o \
  775.          Modules/_ncrypt/ncrypt_cipher.o \
  776.          Modules/_ncrypt/ncrypt_dh.o \
  777.          Modules/_ncrypt/ncrypt_digest.o \
  778.          Modules/_ncrypt/ncrypt_err.o \
  779.          Modules/_ncrypt/ncrypt_rand.o \
  780.          Modules/_ncrypt/ncrypt_rsa.o \
  781.          Modules/_ncrypt/ncrypt_ssl.o \
  782.          Modules/_ncrypt/ncrypt_x509.o \
  783.          Modules/_ncrypt/utils.o
  784.  
  785. _ZLIB_OBJS = \
  786.              Modules/zlib/adler32.o \
  787.              Modules/zlib/compress.o \
  788.              Modules/zlib/crc32.o \
  789.              Modules/zlib/deflate.o \
  790.              Modules/zlib/gzio.o \
  791.              Modules/zlib/infback.o \
  792.              Modules/zlib/inffast.o \
  793.              Modules/zlib/inflate.o \
  794.              Modules/zlib/inftrees.o \
  795.              Modules/zlib/minigzip.o \
  796.              Modules/zlib/trees.o \
  797.              Modules/zlib/uncompr.o \
  798.              Modules/zlib/zutil.o
  799.  
  800. _MODULE_OBJS = \
  801.         Modules/_hashopenssl.o \
  802.         Modules/socketmodule.o \
  803.         Modules/_ssl.o \
  804.         Modules/zlibmodule.o
  805.  
  806. MODULE_OBJS=     \
  807.         Modules/config.o \
  808.         Modules/gcmodule.o \
  809.         Modules/getpath.o \
  810.         Modules/main.o \
  811.         $(_NCRYPT_OBJS) \
  812.         $(_SQLITE_OBJS) \
  813.         $(_ZLIB_OBJS) \
  814.         $(_MODULE_OBJS) \
  815.         $(_OPENSSL_OBJS)
  816.  
  817. # Used if signalmodule.o is not available
  818. SIGNAL_OBJS=    
  819.  
  820.  
  821. ##########################################################################
  822. # Grammar
  823. GRAMMAR_H=    $(srcdir)/Include/graminit.h
  824. GRAMMAR_C=    $(srcdir)/Python/graminit.c
  825. GRAMMAR_INPUT=    $(srcdir)/Grammar/Grammar
  826.  
  827.  
  828. ##########################################################################
  829. # Parser
  830. PGEN=        Parser/pgen$(EXE)
  831.  
  832. POBJS=        \
  833.         Parser/acceler.o \
  834.         Parser/grammar1.o \
  835.         Parser/listnode.o \
  836.         Parser/node.o \
  837.         Parser/parser.o \
  838.         Parser/parsetok.o \
  839.         Parser/bitset.o \
  840.         Parser/metagrammar.o \
  841.         Parser/firstsets.o \
  842.         Parser/grammar.o \
  843.         Parser/pgen.o
  844.  
  845. PARSER_OBJS=    $(POBJS) Parser/myreadline.o Parser/tokenizer.o
  846.  
  847. PGOBJS=        \
  848.         Objects/obmalloc.o \
  849.         Python/mysnprintf.o \
  850.         Parser/tokenizer_pgen.o \
  851.         Parser/printgrammar.o \
  852.         Parser/pgenmain.o \
  853.  
  854. PGENOBJS=    $(PGENMAIN) $(POBJS) $(PGOBJS)
  855.  
  856. ##########################################################################
  857. # AST
  858. AST_H_DIR=    $(srcdir)/Include
  859. AST_H=        $(AST_H_DIR)/Python-ast.h
  860. AST_C_DIR=    $(srcdir)/Python
  861. AST_C=        $(AST_C_DIR)/Python-ast.c
  862. AST_ASDL=    $(srcdir)/Parser/Python.asdl
  863.  
  864. ASDLGEN_FILES=    $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py
  865. # XXX Note that a build now requires Python exist before the build starts
  866. ASDLGEN=    $(srcdir)/Parser/asdl_c.py
  867.  
  868. ##########################################################################
  869. # Python
  870. PYTHON_OBJS=    \
  871.         Python/Python-ast.o \
  872.         Python/asdl.o \
  873.         Python/ast.o \
  874.         Python/bltinmodule.o \
  875.         Python/ceval.o \
  876.         Python/compile.o \
  877.         Python/codecs.o \
  878.         Python/errors.o \
  879.         Python/frozen.o \
  880.         Python/frozenmain.o \
  881.         Python/future.o \
  882.         Python/getargs.o \
  883.         Python/getcompiler.o \
  884.         Python/getcopyright.o \
  885.         Python/getmtime.o \
  886.         Python/getplatform.o \
  887.         Python/getversion.o \
  888.         Python/graminit.o \
  889.         Python/import.o \
  890.         Python/importdl.o \
  891.         Python/marshal.o \
  892.         Python/modsupport.o \
  893.         Python/mystrtoul.o \
  894.         Python/mysnprintf.o \
  895.         Python/pyarena.o \
  896.         Python/pyfpe.o \
  897.         Python/pystate.o \
  898.         Python/pythonrun.o \
  899.         Python/structmember.o \
  900.         Python/symtable.o \
  901.         Python/sysmodule.o \
  902.         Python/traceback.o \
  903.         Python/getopt.o \
  904.         Python/pystrtod.o \
  905.         Python/$(DYNLOADFILE) \
  906.         $(MACHDEP_OBJS) \
  907.         $(THREADOBJ)
  908.  
  909.  
  910. ##########################################################################
  911. # Objects
  912. OBJECT_OBJS=    \
  913.         Objects/abstract.o \
  914.         Objects/boolobject.o \
  915.         Objects/bufferobject.o \
  916.         Objects/cellobject.o \
  917.         Objects/classobject.o \
  918.         Objects/cobject.o \
  919.         Objects/codeobject.o \
  920.         Objects/complexobject.o \
  921.         Objects/descrobject.o \
  922.         Objects/enumobject.o \
  923.         Objects/exceptions.o \
  924.         Objects/genobject.o \
  925.         Objects/fileobject.o \
  926.         Objects/floatobject.o \
  927.         Objects/frameobject.o \
  928.         Objects/funcobject.o \
  929.         Objects/intobject.o \
  930.         Objects/iterobject.o \
  931.         Objects/listobject.o \
  932.         Objects/longobject.o \
  933.         Objects/dictobject.o \
  934.         Objects/memprof.o \
  935.         Objects/methodobject.o \
  936.         Objects/moduleobject.o \
  937.         Objects/object.o \
  938.         Objects/obmalloc.o \
  939.         Objects/rangeobject.o \
  940.                 Objects/setobject.o \
  941.         Objects/slab_allocator.o \
  942.         Objects/sliceobject.o \
  943.         Objects/stringobject.o \
  944.         Objects/structseq.o \
  945.         Objects/tupleobject.o \
  946.         Objects/typeobject.o \
  947.         Objects/weakrefobject.o \
  948.         $(UNICODE_OBJS)
  949.  
  950.  
  951. ##########################################################################
  952. # objects that get linked into the Python library
  953. LIBRARY_OBJS=    \
  954.         Modules/_typesmodule.o \
  955.         Modules/getbuildinfo.o \
  956.         $(PARSER_OBJS) \
  957.         $(OBJECT_OBJS) \
  958.         $(PYTHON_OBJS) \
  959.         $(MODULE_OBJS) \
  960.         $(SIGNAL_OBJS) \
  961.         $(MODOBJS)
  962.  
  963. #########################################################################
  964. # Rules
  965.  
  966. # Default target
  967. all:        $(BUILDPYTHON) oldsharedmods sharedmods
  968.  
  969. # Rules for openssl
  970. _oconfig:
  971.     (cd openssl && ./config)
  972.  
  973. # On Mac, we need to pass in gcc as the compiler, and we pass in CFLAGS to get universal binaries.
  974. #
  975. # There are Makefiles throughout the openssl tree, but the ones more than one level deep aren't
  976. # used and aren't valid. The ones one level deep can be used to compile the .o files with the
  977. # right arguments. Starting at the top level (in openssl/) or using "make all" will cause the
  978. # libraries to be built which breaks on MacOS - or more correctly, is just too much of a pain
  979. # to get right given that we don't need them.
  980. $(_OPENSSL_OBJS): _oconfig
  981.     (cd `echo $@ | sed 's,^\(openssl/[^/]*/\).*,\1,'` && \
  982.      make CC="$(CC)" CFLAG="$(CFLAGS) -fvisibility=hidden" `echo $@ | sed 's,^openssl/[^/]*/,,'`)
  983.  
  984. # For easier developer access and testing only
  985. _openssl: $(_OPENSSL_OBJS)
  986.     echo "openssl"
  987.  
  988. # Build the interpreter
  989. $(BUILDPYTHON):    Modules/python.o $(LIBRARY) $(LDLIBRARY)
  990.         $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
  991.             Modules/python.o \
  992.             $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
  993.  
  994. platform: $(BUILDPYTHON)
  995.     $(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
  996.  
  997.  
  998. # Build the shared modules
  999. sharedmods: $(BUILDPYTHON)
  1000.     case $$MAKEFLAGS in \
  1001.     *-s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \
  1002.     *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \
  1003.     esac
  1004.  
  1005. # Build static library
  1006. # avoid long command lines, same as LIBRARY_OBJS
  1007. $(LIBRARY): $(LIBRARY_OBJS)
  1008.     -rm -f $@
  1009.     $(AR) cr $@ Modules/getbuildinfo.o
  1010.     $(AR) cr $@ Modules/_typesmodule.o
  1011.     $(AR) cr $@ $(PARSER_OBJS)
  1012.     $(AR) cr $@ $(OBJECT_OBJS)
  1013.     $(AR) cr $@ $(PYTHON_OBJS)
  1014.     $(AR) cr $@ $(MODULE_OBJS) $(SIGNAL_OBJS)
  1015.     $(AR) cr $@ $(MODOBJS)
  1016.     $(RANLIB) $@
  1017.  
  1018. libpython$(VERSION).so: $(LIBRARY_OBJS)
  1019.     if test $(INSTSONAME) != $(LDLIBRARY); then \
  1020.         $(LDSHARED) $(LDFLAGS) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
  1021.         $(LN) -f $(INSTSONAME) $@; \
  1022.     else\
  1023.         $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
  1024.     fi
  1025.  
  1026. libpython$(VERSION).sl: $(LIBRARY_OBJS)
  1027.     $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST)
  1028.  
  1029. # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
  1030. # minimal framework (not including the Lib directory and such) in the current
  1031. # directory.
  1032. RESSRCDIR=$(srcdir)/Mac/Resources/framework
  1033. $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
  1034.         $(LIBRARY) \
  1035.         $(RESSRCDIR)/Info.plist \
  1036.                 $(RESSRCDIR)/version.plist \
  1037.                 $(RESSRCDIR)/English.lproj/InfoPlist.strings
  1038.     $(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)
  1039.     if test "${UNIVERSALSDK}"; then \
  1040.         $(CC) -o $(LDLIBRARY) -arch i386 -arch ppc -dynamiclib \
  1041.             -isysroot "${UNIVERSALSDK}" \
  1042.             -all_load $(LIBRARY) -Wl,-single_module \
  1043.             -install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/Python \
  1044.             -compatibility_version $(VERSION) \
  1045.             -current_version $(VERSION); \
  1046.         else \
  1047.         /usr/bin/libtool -o $(LDLIBRARY) -dynamic $(OTHER_LIBTOOL_OPT) $(LIBRARY) \
  1048.              -lSystem -lSystemStubs -arch_only i386 -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) -compatibility_version $(VERSION) -current_version $(VERSION) ;\
  1049.     fi
  1050.     $(INSTALL) -d -m $(DIRMODE)  \
  1051.         $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/English.lproj
  1052.     $(INSTALL_DATA) $(RESSRCDIR)/Info.plist \
  1053.         $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/Info.plist
  1054.     $(INSTALL_DATA) $(RESSRCDIR)/version.plist \
  1055.         $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/version.plist
  1056.     $(INSTALL_DATA) $(RESSRCDIR)/English.lproj/InfoPlist.strings \
  1057.         $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/English.lproj/InfoPlist.strings
  1058.     $(LN) -fsn $(VERSION) $(PYTHONFRAMEWORKDIR)/Versions/Current
  1059.     $(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK)
  1060.     $(LN) -fsn Versions/Current/Headers $(PYTHONFRAMEWORKDIR)/Headers
  1061.     $(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources
  1062.  
  1063. # This rule builds the Cygwin Python DLL and import library if configured
  1064. # for a shared core library; otherwise, this rule is a noop.
  1065. $(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OBJS)
  1066.     if test -n "$(DLLLIBRARY)"; then \
  1067.         $(LDSHARED) $(LDFLAGS) -Wl,--out-implib=$@ -o $(DLLLIBRARY) $^ \
  1068.             $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST); \
  1069.     else true; \
  1070.     fi
  1071.  
  1072.  
  1073. oldsharedmods: $(SHAREDMODS)
  1074.  
  1075.  
  1076. Makefile Modules/config.c: Makefile.pre \
  1077.                 $(srcdir)/Modules/config.c.in \
  1078.                 $(MAKESETUP) \
  1079.                 Modules/Setup.config \
  1080.                 Modules/Setup \
  1081.                 Modules/Setup.local
  1082.     $(SHELL) $(MAKESETUP) -c $(srcdir)/Modules/config.c.in \
  1083.                 -s Modules \
  1084.                 Modules/Setup.config \
  1085.                 Modules/Setup.local \
  1086.                 Modules/Setup
  1087.     @mv config.c Modules
  1088.     @echo "The Makefile was updated, you may need to re-run make."
  1089.  
  1090.  
  1091. Modules/Setup: $(srcdir)/Modules/Setup.dist
  1092.     @if test -f Modules/Setup; then \
  1093.         echo "-----------------------------------------------"; \
  1094.         echo "Modules/Setup.dist is newer than Modules/Setup;"; \
  1095.         echo "check to make sure you have all the updates you"; \
  1096.         echo "need in your Modules/Setup file."; \
  1097.         echo "Usually, copying Setup.dist to Setup will work."; \
  1098.         echo "-----------------------------------------------"; \
  1099.     fi
  1100.  
  1101. ############################################################################
  1102. # Special rules for object files
  1103.  
  1104. Modules/getbuildinfo.o: $(PARSER_OBJS) \
  1105.         $(OBJECT_OBJS) \
  1106.         $(PYTHON_OBJS) \
  1107.         $(MODULE_OBJS) \
  1108.         $(SIGNAL_OBJS) \
  1109.         $(MODOBJS) \
  1110.         $(srcdir)/Modules/getbuildinfo.c
  1111.     $(CC) -c $(PY_CFLAGS) -DSVNVERSION=\"`LC_ALL=C $(SVNVERSION)`\" -o $@ $(srcdir)/Modules/getbuildinfo.c
  1112.  
  1113. Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
  1114.     $(CC) -c $(PY_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \
  1115.         -DPREFIX='"$(prefix)"' \
  1116.         -DEXEC_PREFIX='"$(exec_prefix)"' \
  1117.         -DVERSION='"$(VERSION)"' \
  1118.         -DVPATH='"$(VPATH)"' \
  1119.         -o $@ $(srcdir)/Modules/getpath.c
  1120.  
  1121. Modules/python.o: $(srcdir)/Modules/python.c
  1122.     $(MAINCC) -c $(PY_CFLAGS) -o $@ $(srcdir)/Modules/python.c
  1123.  
  1124. # Make sure all these defines happen on the Windows Project Solution
  1125. $(_SQLITE_OBJS): %.o: %.c sqlite-upstream/see-amalg1.h sqlite-upstream/see-amalg2.h
  1126.     $(CC) -c $(PY_CFLAGS) -fvisibility=hidden -Isqlite-upstream -DPYSQLITE_KEY_ARG=trevor -DPYSQLITE_REKEY_FUNC_TEMPLATE=teresa -Dsqlite3_key=s_teresa -Dsqlite3_rekey=s_jon -Dsqlite3_open=s_nando -DSQLITE_HAS_CODEC=1 -DMODULE_NAME='"sqlite3"' $< -o $@
  1127.  
  1128. $(_NCRYPT_OBJS): %.o: %.c
  1129.     $(CC) -c $(PY_CFLAGS) -fvisibility=hidden  $< -o $@
  1130.  
  1131. $(_ZLIB_OBJS): %.o: %.c
  1132.     $(CC) -c $(PY_CFLAGS) -fvisibility=hidden $< -o $@
  1133.  
  1134. $(_MODULE_OBJS): %.o: %.c
  1135.     $(CC) -c $(PY_CFLAGS) -fvisibility=hidden $< -o $@
  1136.  
  1137. $(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
  1138.         -@ mkdir Include
  1139.         -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
  1140.  
  1141. $(PGEN):    $(PGENOBJS)
  1142.         $(CC) $(OPT) $(LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN)
  1143.  
  1144. Parser/grammar.o:    $(srcdir)/Parser/grammar.c \
  1145.                 $(srcdir)/Include/token.h \
  1146.                 $(srcdir)/Include/grammar.h
  1147. Parser/metagrammar.o:    $(srcdir)/Parser/metagrammar.c
  1148.  
  1149. Parser/tokenizer_pgen.o:    $(srcdir)/Parser/tokenizer.c
  1150.  
  1151. $(AST_H): $(AST_ASDL) $(ASDLGEN_FILES)
  1152.     $(ASDLGEN) -h $(AST_H_DIR) $(AST_ASDL)
  1153.  
  1154. $(AST_C): $(AST_ASDL) $(ASDLGEN_FILES)
  1155.     $(ASDLGEN) -c $(AST_C_DIR) $(AST_ASDL)
  1156.  
  1157. Python/compile.o Python/symtable.o: $(GRAMMAR_H) $(AST_H)
  1158.  
  1159. Python/getplatform.o: $(srcdir)/Python/getplatform.c
  1160.         $(CC) -c $(PY_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
  1161.  
  1162. Python/importdl.o: $(srcdir)/Python/importdl.c
  1163.         $(CC) -c $(PY_CFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c
  1164.  
  1165. Objects/unicodectype.o:    $(srcdir)/Objects/unicodectype.c \
  1166.                 $(srcdir)/Objects/unicodetype_db.h
  1167.  
  1168. ############################################################################
  1169. # Header files
  1170.  
  1171. PYTHON_HEADERS= \
  1172.         Include/Python.h \
  1173.         Include/Python-ast.h \
  1174.         Include/asdl.h \
  1175.         Include/abstract.h \
  1176.         Include/boolobject.h \
  1177.         Include/bufferobject.h \
  1178.         Include/ceval.h \
  1179.         Include/classobject.h \
  1180.         Include/cobject.h \
  1181.         Include/code.h \
  1182.         Include/codecs.h \
  1183.         Include/compile.h \
  1184.         Include/complexobject.h \
  1185.         Include/descrobject.h \
  1186.         Include/dictobject.h \
  1187.         Include/enumobject.h \
  1188.         Include/genobject.h \
  1189.         Include/fileobject.h \
  1190.         Include/floatobject.h \
  1191.         Include/funcobject.h \
  1192.         Include/import.h \
  1193.         Include/intobject.h \
  1194.         Include/intrcheck.h \
  1195.         Include/iterobject.h \
  1196.         Include/listobject.h \
  1197.         Include/longobject.h \
  1198.         Include/methodobject.h \
  1199.         Include/modsupport.h \
  1200.         Include/moduleobject.h \
  1201.         Include/object.h \
  1202.         Include/objimpl.h \
  1203.         Include/patchlevel.h \
  1204.         Include/pyarena.h \
  1205.         Include/pydebug.h \
  1206.         Include/pyerrors.h \
  1207.         Include/pyfpe.h \
  1208.         Include/pymem.h \
  1209.         Include/pyport.h \
  1210.         Include/pystate.h \
  1211.         Include/pythonrun.h \
  1212.         Include/rangeobject.h \
  1213.                 Include/setobject.h \
  1214.         Include/sliceobject.h \
  1215.         Include/stringobject.h \
  1216.         Include/structseq.h \
  1217.         Include/structmember.h \
  1218.         Include/symtable.h \
  1219.         Include/sysmodule.h \
  1220.         Include/traceback.h \
  1221.         Include/tupleobject.h \
  1222.         Include/unicodeobject.h \
  1223.         Include/weakrefobject.h \
  1224.         Include/memprof.h \
  1225.         pyconfig.h
  1226.  
  1227. $(LIBRARY_OBJS) Modules/python.o: $(PYTHON_HEADERS)
  1228.  
  1229.  
  1230. ######################################################################
  1231.  
  1232. # Test the interpreter (twice, once without .pyc files, once with)
  1233. # In the past, we've had problems where bugs in the marshalling or
  1234. # elsewhere caused bytecode read from .pyc files to behave differently
  1235. # than bytecode generated directly from a .py source file.  Sometimes
  1236. # the bytecode read from a .pyc file had the bug, somtimes the directly
  1237. # generated bytecode.  This is sometimes a very shy bug needing a lot of
  1238. # sample data.
  1239.  
  1240. TESTOPTS=    -l $(EXTRATESTOPTS)
  1241. TESTPROG=    $(srcdir)/Lib/test/regrtest.py
  1242. TESTPYTHON=    $(RUNSHARED) ./$(BUILDPYTHON) -E -tt
  1243. test:        all platform
  1244.         -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
  1245.         -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
  1246.         $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
  1247.  
  1248. testall:    all platform
  1249.         -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
  1250.         -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
  1251.         $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
  1252.  
  1253. #  Run the unitests for both architectures in a Universal build on OSX
  1254. #  Must be run on an Intel box.
  1255. testuniversal:    all platform
  1256.         if [ `arch` != 'i386' ];then \
  1257.             echo "This can only be used on OSX/i386" ;\
  1258.             exit 1 ;\
  1259.         fi
  1260.         -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
  1261.         -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
  1262.         $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
  1263.         $(RUNSHARED) /usr/libexec/oah/translate ./$(BUILDPYTHON) -E -tt $(TESTPROG) $(TESTOPTS) -uall
  1264.  
  1265.  
  1266. # Like testall, but with a single pass only
  1267. # run an optional script to include some information about the build environment
  1268. buildbottest:    all platform
  1269.         -@if which pybuildbot.identify >/dev/null 2>&1; then \
  1270.             pybuildbot.identify "CC='$(CC)'" "CXX='$(CXX)'"; \
  1271.         fi
  1272.         $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall -rw
  1273.  
  1274. QUICKTESTOPTS=    $(TESTOPTS) -x test_thread test_signal test_strftime \
  1275.         test_unicodedata test_re test_sre test_select test_poll \
  1276.         test_linuxaudiodev test_struct test_sunaudiodev test_zlib
  1277. quicktest:    all platform
  1278.         -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
  1279.         -$(TESTPYTHON) $(TESTPROG) $(QUICKTESTOPTS)
  1280.         $(TESTPYTHON) $(TESTPROG) $(QUICKTESTOPTS)
  1281.  
  1282. MEMTESTOPTS=    $(QUICKTESTOPTS) -x test_dl test___all__ test_fork1 \
  1283.         test_longexp
  1284. memtest:    all platform
  1285.         -rm -f $(srcdir)/Lib/test/*.py[co]
  1286.         -$(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS)
  1287.         $(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS)
  1288.  
  1289. # Install everything
  1290. install:    frameworkinstallstructure altinstall bininstall maninstall frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
  1291.  
  1292. # Install almost everything without disturbing previous versions
  1293. altinstall:    frameworkinstallstructure bininstall maninstall altbininstall libinstall inclinstall libainstall \
  1294.                 sharedinstall oldsharedinstall frameworkinstallmaclib frameworkinstallapps frameworkaltinstallunixtools
  1295.  
  1296. # Install shared libraries enabled by Setup
  1297. DESTDIRS=    $(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED)
  1298.  
  1299. oldsharedinstall: $(DESTSHARED) $(SHAREDMODS)
  1300.         @for i in X $(SHAREDMODS); do \
  1301.           if test $$i != X; then \
  1302.             echo $(INSTALL_SHARED) $$i $(DESTSHARED)/`basename $$i`; \
  1303.             $(INSTALL_SHARED) $$i $(DESTDIR)$(DESTSHARED)/`basename $$i`; \
  1304.           fi; \
  1305.         done
  1306.  
  1307. $(DESTSHARED):
  1308.         @for i in $(DESTDIRS); \
  1309.         do \
  1310.             if test ! -d $(DESTDIR)$$i; then \
  1311.                 echo "Creating directory $$i"; \
  1312.                 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
  1313.             else    true; \
  1314.             fi; \
  1315.         done
  1316.  
  1317.  
  1318. # Install the interpreter (by creating a hard link to python$(VERSION))
  1319. bininstall:    altbininstall
  1320.     -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \
  1321.     then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
  1322.     else true; \
  1323.     fi
  1324.     (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
  1325.     -rm -f $(DESTDIR)$(BINDIR)/python-config
  1326.     (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
  1327.  
  1328. # Install the interpreter with $(VERSION) affixed
  1329. # This goes into $(exec_prefix)
  1330. altbininstall:    $(BUILDPYTHON)
  1331.     @for i in $(BINDIR) $(LIBDIR); \
  1332.     do \
  1333.         if test ! -d $(DESTDIR)$$i; then \
  1334.             echo "Creating directory $$i"; \
  1335.             $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
  1336.         else    true; \
  1337.         fi; \
  1338.     done
  1339.     $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE)
  1340.     if test -f libpython$(VERSION)$(SO); then \
  1341.         if test "$(SO)" = .dll; then \
  1342.             $(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(BINDIR); \
  1343.         else \
  1344.             $(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \
  1345.             if test libpython$(VERSION)$(SO) != $(INSTSONAME); then \
  1346.                 (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) libpython$(VERSION)$(SO)); \
  1347.             fi \
  1348.         fi; \
  1349.     else    true; \
  1350.     fi
  1351.  
  1352. # Install the manual page
  1353. maninstall:
  1354.     @for i in $(MANDIR) $(MANDIR)/man1; \
  1355.     do \
  1356.         if test ! -d $(DESTDIR)$$i; then \
  1357.             echo "Creating directory $$i"; \
  1358.             $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
  1359.         else    true; \
  1360.         fi; \
  1361.     done
  1362.     $(INSTALL_DATA) $(srcdir)/Misc/python.man \
  1363.         $(DESTDIR)$(MANDIR)/man1/python.1
  1364.  
  1365. # Install the library
  1366. PLATDIR=    plat-$(MACHDEP)
  1367. EXTRAPLATDIR= $(PLATMACDIRS)
  1368. EXTRAMACHDEPPATH=$(PLATMACPATH)
  1369. MACHDEPS=    $(PLATDIR) $(EXTRAPLATDIR)
  1370. XMLLIBSUBDIRS=  xml xml/dom xml/etree xml/parsers xml/sax
  1371. PLATMACDIRS= plat-mac plat-mac/Carbon plat-mac/lib-scriptpackages \
  1372.     plat-mac/lib-scriptpackages/_builtinSuites \
  1373.     plat-mac/lib-scriptpackages/CodeWarrior \
  1374.     plat-mac/lib-scriptpackages/Explorer \
  1375.     plat-mac/lib-scriptpackages/Finder \
  1376.     plat-mac/lib-scriptpackages/Netscape \
  1377.     plat-mac/lib-scriptpackages/StdSuites \
  1378.     plat-mac/lib-scriptpackages/SystemEvents \
  1379.     plat-mac/lib-scriptpackages/Terminal 
  1380. PLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages
  1381. LIBSUBDIRS=    lib-tk site-packages test test/output test/data \
  1382.         test/decimaltestdata \
  1383.         encodings compiler hotshot \
  1384.         email email/mime email/test email/test/data \
  1385.         sqlite3 sqlite3/test \
  1386.         logging bsddb bsddb/test csv wsgiref \
  1387.         ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \
  1388.         distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \
  1389.         setuptools setuptools/command setuptools/tests setuptools.egg-info \
  1390.         curses $(MACHDEPS)
  1391. libinstall:    $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
  1392.     @for i in $(SCRIPTDIR) $(LIBDEST); \
  1393.     do \
  1394.         if test ! -d $(DESTDIR)$$i; then \
  1395.             echo "Creating directory $$i"; \
  1396.             $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
  1397.         else    true; \
  1398.         fi; \
  1399.     done
  1400.     @for d in $(LIBSUBDIRS); \
  1401.     do \
  1402.         a=$(srcdir)/Lib/$$d; \
  1403.         if test ! -d $$a; then continue; else true; fi; \
  1404.         b=$(LIBDEST)/$$d; \
  1405.         if test ! -d $(DESTDIR)$$b; then \
  1406.             echo "Creating directory $$b"; \
  1407.             $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$b; \
  1408.         else    true; \
  1409.         fi; \
  1410.     done
  1411.     @for i in $(srcdir)/Lib/*.py $(srcdir)/Lib/*.doc $(srcdir)/Lib/*.egg-info ; \
  1412.     do \
  1413.         if test -x $$i; then \
  1414.             $(INSTALL_SCRIPT) $$i $(DESTDIR)$(LIBDEST); \
  1415.             echo $(INSTALL_SCRIPT) $$i $(LIBDEST); \
  1416.         else \
  1417.             $(INSTALL_DATA) $$i $(DESTDIR)$(LIBDEST); \
  1418.             echo $(INSTALL_DATA) $$i $(LIBDEST); \
  1419.         fi; \
  1420.     done
  1421.     @for d in $(LIBSUBDIRS); \
  1422.     do \
  1423.         a=$(srcdir)/Lib/$$d; \
  1424.         if test ! -d $$a; then continue; else true; fi; \
  1425.         if test `ls $$a | wc -l` -lt 1; then continue; fi; \
  1426.         b=$(LIBDEST)/$$d; \
  1427.         for i in $$a/*; \
  1428.         do \
  1429.             case $$i in \
  1430.             *CVS) ;; \
  1431.             *.py[co]) ;; \
  1432.             *.orig) ;; \
  1433.             *~) ;; \
  1434.             *) \
  1435.                 if test -d $$i; then continue; fi; \
  1436.                 if test -x $$i; then \
  1437.                     echo $(INSTALL_SCRIPT) $$i $$b; \
  1438.                     $(INSTALL_SCRIPT) $$i $(DESTDIR)$$b; \
  1439.                 else \
  1440.                     echo $(INSTALL_DATA) $$i $$b; \
  1441.                     $(INSTALL_DATA) $$i $(DESTDIR)$$b; \
  1442.                 fi;; \
  1443.             esac; \
  1444.         done; \
  1445.     done
  1446.     $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
  1447.     PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
  1448.         ./$(BUILDPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
  1449.         -d $(LIBDEST) -f \
  1450.         -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST)
  1451.     PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  1452.         ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
  1453.         -d $(LIBDEST) -f \
  1454.         -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST)
  1455.     -PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
  1456.         ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \
  1457.         -d $(LIBDEST)/site-packages -f \
  1458.         -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
  1459.     -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  1460.         ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
  1461.         -d $(LIBDEST)/site-packages -f \
  1462.         -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
  1463.  
  1464. # Create the PLATDIR source directory, if one wasn't distributed..
  1465. $(srcdir)/Lib/$(PLATDIR):
  1466.     mkdir $(srcdir)/Lib/$(PLATDIR)
  1467.     cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
  1468.     export PATH; PATH="`pwd`:$$PATH"; \
  1469.     export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
  1470.     export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
  1471.     export EXE; EXE="$(BUILDEXE)"; \
  1472.     cd $(srcdir)/Lib/$(PLATDIR); ./regen
  1473.  
  1474. # Install the include files
  1475. INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)
  1476. inclinstall:
  1477.     @for i in $(INCLDIRSTOMAKE); \
  1478.     do \
  1479.         if test ! -d $(DESTDIR)$$i; then \
  1480.             echo "Creating directory $$i"; \
  1481.             $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
  1482.         else    true; \
  1483.         fi; \
  1484.     done
  1485.     @for i in $(srcdir)/Include/*.h; \
  1486.     do \
  1487.         echo $(INSTALL_DATA) $$i $(INCLUDEPY); \
  1488.         $(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY); \
  1489.     done
  1490.     $(INSTALL_DATA) pyconfig.h $(DESTDIR)$(CONFINCLUDEPY)/pyconfig.h
  1491.  
  1492. # Install the library and miscellaneous stuff needed for extending/embedding
  1493. # This goes into $(exec_prefix)
  1494. LIBPL=        $(LIBP)/config
  1495. libainstall:    all
  1496.     @for i in $(LIBDIR) $(LIBP) $(LIBPL); \
  1497.     do \
  1498.         if test ! -d $(DESTDIR)$$i; then \
  1499.             echo "Creating directory $$i"; \
  1500.             $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
  1501.         else    true; \
  1502.         fi; \
  1503.     done
  1504.     @if test -d $(LIBRARY); then :; else \
  1505.         if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
  1506.             if test "$(SO)" = .dll; then \
  1507.                 $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
  1508.             else \
  1509.                 $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
  1510.                 $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
  1511.             fi; \
  1512.         else \
  1513.             echo Skip install of $(LIBRARY) - use make frameworkinstall; \
  1514.         fi; \
  1515.     fi
  1516.     $(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
  1517.     $(INSTALL_DATA) Modules/python.o $(DESTDIR)$(LIBPL)/python.o
  1518.     $(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in
  1519.     $(INSTALL_DATA) Makefile $(DESTDIR)$(LIBPL)/Makefile
  1520.     $(INSTALL_DATA) Modules/Setup $(DESTDIR)$(LIBPL)/Setup
  1521.     $(INSTALL_DATA) Modules/Setup.local $(DESTDIR)$(LIBPL)/Setup.local
  1522.     $(INSTALL_DATA) Modules/Setup.config $(DESTDIR)$(LIBPL)/Setup.config
  1523.     $(INSTALL_SCRIPT) $(srcdir)/Modules/makesetup $(DESTDIR)$(LIBPL)/makesetup
  1524.     $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh
  1525.     # Substitution happens here, as the completely-expanded BINDIR
  1526.     # is not available in configure
  1527.     sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config
  1528.     $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(VERSION)-config
  1529.     rm python-config
  1530.     @if [ -s Modules/python.exp -a \
  1531.         "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \
  1532.         echo; echo "Installing support files for building shared extension modules on AIX:"; \
  1533.         $(INSTALL_DATA) Modules/python.exp        \
  1534.                 $(DESTDIR)$(LIBPL)/python.exp;        \
  1535.         echo; echo "$(LIBPL)/python.exp";        \
  1536.         $(INSTALL_SCRIPT) $(srcdir)/Modules/makexp_aix    \
  1537.                 $(DESTDIR)$(LIBPL)/makexp_aix;        \
  1538.         echo "$(LIBPL)/makexp_aix";            \
  1539.         $(INSTALL_SCRIPT) $(srcdir)/Modules/ld_so_aix    \
  1540.                 $(DESTDIR)$(LIBPL)/ld_so_aix;        \
  1541.         echo "$(LIBPL)/ld_so_aix";            \
  1542.         echo; echo "See Misc/AIX-NOTES for details.";    \
  1543.     else true; \
  1544.     fi
  1545.     @case "$(MACHDEP)" in beos*) \
  1546.         echo; echo "Installing support files for building shared extension modules on BeOS:"; \
  1547.         $(INSTALL_DATA) Misc/BeOS-NOTES $(DESTDIR)$(LIBPL)/README;    \
  1548.         echo; echo "$(LIBPL)/README";            \
  1549.         $(INSTALL_SCRIPT) Modules/ar_beos $(DESTDIR)$(LIBPL)/ar_beos; \
  1550.         echo "$(LIBPL)/ar_beos";            \
  1551.         $(INSTALL_SCRIPT) Modules/ld_so_beos $(DESTDIR)$(LIBPL)/ld_so_beos; \
  1552.         echo "$(LIBPL)/ld_so_beos";            \
  1553.         echo; echo "See Misc/BeOS-NOTES for details.";    \
  1554.         ;; \
  1555.     esac
  1556.  
  1557. # Install the dynamically loadable modules
  1558. # This goes into $(exec_prefix)
  1559. sharedinstall:
  1560.     $(RUNSHARED) ./$(BUILDPYTHON) -E $(srcdir)/setup.py install \
  1561.            --prefix=$(prefix) \
  1562.         --install-scripts=$(BINDIR) \
  1563.         --install-platlib=$(DESTSHARED) \
  1564.         --root=/$(DESTDIR)
  1565.  
  1566. # Here are a couple of targets for MacOSX again, to install a full
  1567. # framework-based Python. frameworkinstall installs everything, the
  1568. # subtargets install specific parts. Much of the actual work is offloaded to
  1569. # the Makefile in Mac
  1570. #
  1571. #
  1572. # This target is here for backward compatiblity, previous versions of Python
  1573. # hadn't integrated framework installation in the normal install process.
  1574. frameworkinstall: install
  1575.  
  1576. # On install, we re-make the framework
  1577. # structure in the install location, /Library/Frameworks/ or the argument to
  1578. # --enable-framework. If --enable-framework has been specified then we have
  1579. # automatically set prefix to the location deep down in the framework, so we
  1580. # only have to cater for the structural bits of the framework.
  1581.  
  1582. frameworkinstallframework: frameworkinstallstructure install frameworkinstallmaclib
  1583.  
  1584. frameworkinstallstructure:    $(LDLIBRARY)
  1585.     @if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
  1586.         echo Not configured with --enable-framework; \
  1587.         exit 1; \
  1588.     else true; \
  1589.     fi
  1590.     @for i in $(prefix)/Resources/English.lproj $(prefix)/lib; do\
  1591.         if test ! -d $(DESTDIR)$$i; then \
  1592.             echo "Creating directory $(DESTDIR)$$i"; \
  1593.             $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
  1594.         else    true; \
  1595.         fi; \
  1596.     done
  1597.     $(LN) -fsn include/python$(VERSION) $(DESTDIR)$(prefix)/Headers
  1598.     $(INSTALL_DATA) $(RESSRCDIR)/Info.plist $(DESTDIR)$(prefix)/Resources/Info.plist
  1599.     $(INSTALL_DATA) $(RESSRCDIR)/version.plist $(DESTDIR)$(prefix)/Resources/version.plist
  1600.     $(INSTALL_DATA) $(RESSRCDIR)/English.lproj/InfoPlist.strings \
  1601.         $(DESTDIR)$(prefix)/Resources/English.lproj/InfoPlist.strings
  1602.     $(LN) -fsn $(VERSION) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current
  1603.     $(LN) -fsn Versions/Current/Python $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Python
  1604.     $(LN) -fsn Versions/Current/Headers $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Headers
  1605.     $(LN) -fsn Versions/Current/Resources $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Resources
  1606.     $(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(PYTHONFRAMEWORKPREFIX)/$(LDLIBRARY)
  1607.  
  1608. # This installs Mac/Lib into the framework
  1609. # Install a number of symlinks to keep software that expects a normal unix
  1610. # install (which includes python-config) happy.
  1611. frameworkinstallmaclib:
  1612.     ln -fs "../../../Python" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).a"
  1613.     cd Mac && $(MAKE) installmacsubtree DESTDIR="$(DESTDIR)"
  1614.  
  1615. # This installs the IDE, the Launcher and other apps into /Applications
  1616. frameworkinstallapps:
  1617.     cd Mac && $(MAKE) installapps DESTDIR="$(DESTDIR)"
  1618.  
  1619. # This install the unix python and pythonw tools in /usr/local/bin
  1620. frameworkinstallunixtools:
  1621.     cd Mac && $(MAKE) installunixtools DESTDIR="$(DESTDIR)"
  1622.  
  1623. frameworkaltinstallunixtools:
  1624.     cd Mac && $(MAKE) altinstallunixtools DESTDIR="$(DESTDIR)"
  1625.  
  1626. # This installs the Demos and Tools into the applications directory.
  1627. # It is not part of a normal frameworkinstall
  1628. frameworkinstallextras:
  1629.     cd Mac && Make installextras DESTDIR="$(DESTDIR)"
  1630.  
  1631. # This installs a few of the useful scripts in Tools/scripts
  1632. scriptsinstall:
  1633.     SRCDIR=$(srcdir) $(RUNSHARED) \
  1634.     ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/setup.py install \
  1635.     --prefix=$(prefix) \
  1636.     --install-scripts=$(BINDIR) \
  1637.     --root=/$(DESTDIR)
  1638.  
  1639. # Build the toplevel Makefile
  1640. Makefile.pre: Makefile.pre.in config.status
  1641.     CONFIG_FILES=Makefile.pre CONFIG_HEADERS= $(SHELL) config.status
  1642.     $(MAKE) -f Makefile.pre Makefile
  1643.  
  1644. # Run the configure script.
  1645. config.status:    $(srcdir)/configure
  1646.     $(SHELL) $(srcdir)/configure $(CONFIG_ARGS)
  1647.  
  1648. .PRECIOUS: config.status $(BUILDPYTHON) Makefile Makefile.pre
  1649.  
  1650. # Some make's put the object file in the current directory
  1651. .c.o:
  1652.     $(CC) -c $(PY_CFLAGS) -o $@ $<
  1653.  
  1654. # Run reindent on the library
  1655. reindent:
  1656.     ./python$(EXEEXT) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
  1657.  
  1658. # Rerun configure with the same options as it was run last time,
  1659. # provided the config.status script exists
  1660. recheck:
  1661.     $(SHELL) config.status --recheck
  1662.     $(SHELL) config.status
  1663.  
  1664. # Rebuild the configure script from configure.in; also rebuild pyconfig.h.in
  1665. autoconf:
  1666.     (cd $(srcdir); autoconf)
  1667.     (cd $(srcdir); autoheader)
  1668.  
  1669. # Create a tags file for vi
  1670. tags::
  1671.     cd $(srcdir); \
  1672.     ctags -w -t Include/*.h; \
  1673.     for i in $(SRCDIRS); do ctags -w -t -a $$i/*.[ch]; \
  1674.     done; \
  1675.     sort -o tags tags
  1676.  
  1677. # Create a tags file for GNU Emacs
  1678. TAGS::
  1679.     cd $(srcdir); \
  1680.     etags Include/*.h; \
  1681.     for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
  1682.  
  1683. # Sanitation targets -- clean leaves libraries, executables and tags
  1684. # files, which clobber removes those as well
  1685. pycremoval:
  1686.     find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
  1687.  
  1688. clean: pycremoval
  1689.     (cd openssl && make clean || true)
  1690.     find . -name '*.o' -exec rm -f {} ';'
  1691.     find . -name '*.s[ol]' -exec rm -f {} ';'
  1692.     find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true
  1693.     find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true
  1694.  
  1695. clobber: clean
  1696.     -rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
  1697.         tags TAGS \
  1698.         config.cache config.log pyconfig.h Modules/config.c
  1699.     -rm -rf build platform
  1700.     -rm -rf $(PYTHONFRAMEWORKDIR)
  1701.  
  1702. # Make things extra clean, before making a distribution:
  1703. # remove all generated files, even Makefile[.pre]
  1704. # Keep configure and Python-ast.[ch], it's possible they can't be generated
  1705. distclean: clobber
  1706.     -rm -f core Makefile Makefile.pre config.status \
  1707.         Modules/Setup Modules/Setup.local Modules/Setup.config
  1708.     find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
  1709.                -o -name '[@,#]*' -o -name '*.old' \
  1710.                -o -name '*.orig' -o -name '*.rej' \
  1711.                -o -name '*.bak' ')' \
  1712.                -exec rm -f {} ';'
  1713.  
  1714. # Check for smelly exported symbols (not starting with Py/_Py)
  1715. smelly: all
  1716.     nm -p $(LIBRARY) | \
  1717.         sed -n "/ [TDB] /s/.* //p" | grep -v "^_*Py" | sort -u; \
  1718.  
  1719. # Find files with funny names
  1720. funny:
  1721.     find $(DISTDIRS) -type d \
  1722.         -o -name '*.[chs]' \
  1723.         -o -name '*.py' \
  1724.         -o -name '*.doc' \
  1725.         -o -name '*.sty' \
  1726.         -o -name '*.bib' \
  1727.         -o -name '*.dat' \
  1728.         -o -name '*.el' \
  1729.         -o -name '*.fd' \
  1730.         -o -name '*.in' \
  1731.         -o -name '*.tex' \
  1732.         -o -name '*,[vpt]' \
  1733.         -o -name 'Setup' \
  1734.         -o -name 'Setup.*' \
  1735.         -o -name README \
  1736.         -o -name Makefile \
  1737.         -o -name ChangeLog \
  1738.         -o -name Repository \
  1739.         -o -name Root \
  1740.         -o -name Entries \
  1741.         -o -name Tag \
  1742.         -o -name tags \
  1743.         -o -name TAGS \
  1744.         -o -name .cvsignore \
  1745.         -o -name MANIFEST \
  1746.         -o -print
  1747.  
  1748. # Dependencies
  1749.  
  1750. Python/thread.o:  $(srcdir)/Python/thread_atheos.h $(srcdir)/Python/thread_beos.h $(srcdir)/Python/thread_cthread.h $(srcdir)/Python/thread_foobar.h $(srcdir)/Python/thread_lwp.h $(srcdir)/Python/thread_nt.h $(srcdir)/Python/thread_os2.h $(srcdir)/Python/thread_pth.h $(srcdir)/Python/thread_pthread.h $(srcdir)/Python/thread_sgi.h $(srcdir)/Python/thread_solaris.h $(srcdir)/Python/thread_wince.h
  1751.  
  1752. # Declare targets that aren't real files
  1753. .PHONY: all sharedmods oldsharedmods test quicktest memtest
  1754. .PHONY: install altinstall oldsharedinstall bininstall altbininstall
  1755. .PHONY: maninstall libinstall inclinstall libainstall sharedinstall
  1756. .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
  1757. .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
  1758. .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean 
  1759. .PHONY: smelly funny
  1760. .PHONY: _oconfig _openssl
  1761.  
  1762. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  1763.  
  1764. # Rules appended by makedepend
  1765.  
  1766. Modules/threadmodule.o: $(srcdir)/Modules/threadmodule.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/threadmodule.c -o Modules/threadmodule.o
  1767. Modules/threadmodule$(SO):  Modules/threadmodule.o; $(BLDSHARED)  Modules/threadmodule.o   -o Modules/threadmodule$(SO)
  1768. Modules/signalmodule.o: $(srcdir)/Modules/signalmodule.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/signalmodule.c -o Modules/signalmodule.o
  1769. Modules/signalmodule$(SO):  Modules/signalmodule.o; $(BLDSHARED)  Modules/signalmodule.o   -o Modules/signalmodule$(SO)
  1770. Modules/posixmodule.o: $(srcdir)/Modules/posixmodule.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/posixmodule.c -o Modules/posixmodule.o
  1771. Modules/posixmodule$(SO):  Modules/posixmodule.o; $(BLDSHARED)  Modules/posixmodule.o   -o Modules/posixmodule$(SO)
  1772. Modules/errnomodule.o: $(srcdir)/Modules/errnomodule.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/errnomodule.c -o Modules/errnomodule.o
  1773. Modules/errnomodule$(SO):  Modules/errnomodule.o; $(BLDSHARED)  Modules/errnomodule.o   -o Modules/errnomodule$(SO)
  1774. Modules/pwdmodule.o: $(srcdir)/Modules/pwdmodule.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/pwdmodule.c -o Modules/pwdmodule.o
  1775. Modules/pwdmodule$(SO):  Modules/pwdmodule.o; $(BLDSHARED)  Modules/pwdmodule.o   -o Modules/pwdmodule$(SO)
  1776. Modules/_sre.o: $(srcdir)/Modules/_sre.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/_sre.c -o Modules/_sre.o
  1777. Modules/_sre$(SO):  Modules/_sre.o; $(BLDSHARED)  Modules/_sre.o   -o Modules/_sre$(SO)
  1778. Modules/_codecsmodule.o: $(srcdir)/Modules/_codecsmodule.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/_codecsmodule.c -o Modules/_codecsmodule.o
  1779. Modules/_codecsmodule$(SO):  Modules/_codecsmodule.o; $(BLDSHARED)  Modules/_codecsmodule.o   -o Modules/_codecsmodule$(SO)
  1780. Modules/zipimport.o: $(srcdir)/Modules/zipimport.c; $(CC) $(PY_CFLAGS) -fvisibility=hidden  -c $(srcdir)/Modules/zipimport.c -o Modules/zipimport.o
  1781. Modules/zipimport$(SO):  Modules/zipimport.o; $(BLDSHARED)  Modules/zipimport.o   -o Modules/zipimport$(SO)
  1782. Modules/symtablemodule.o: $(srcdir)/Modules/symtablemodule.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/symtablemodule.c -o Modules/symtablemodule.o
  1783. Modules/_symtablemodule$(SO):  Modules/symtablemodule.o; $(BLDSHARED)  Modules/symtablemodule.o   -o Modules/_symtablemodule$(SO)
  1784. Modules/xxsubtype.o: $(srcdir)/Modules/xxsubtype.c; $(CC) $(PY_CFLAGS)  -c $(srcdir)/Modules/xxsubtype.c -o Modules/xxsubtype.o
  1785. Modules/xxsubtype$(SO):  Modules/xxsubtype.o; $(BLDSHARED)  Modules/xxsubtype.o   -o Modules/xxsubtype$(SO)
  1786.